<?php TPL::output('install/header.tpl.htm'); ?>

<p class="default_head"><span class="default_logo"></span> </p>
<div class="default_contents">
  <h2 class="dedault_hx"> • 添加管理员</h2>
  <p class="default_txt">数据库导入成功, 创建管理员账户。</p>
  <form action="" method="post" id="installer">
  <input type="hidden" name="step" value="4" />
  <ul class="default_ul">
    <li>
      <label class="label">用户名</label>
      <input type="text" name="user_name" value="" id="user_name" class="default_text"/>
    </li>
    <li>
      <label class="label">密码</label>
      <input type="password" name="password" id="_password" maxlength="16" class="default_text"/>
      <span class="txt_color">请输入 6 - 16 位字符, 不符合要求安装完成后将无法登录</span>
    </li>
    <li>
      <label class="label">E-mail</label>
      <input type="text" name="email" id="email" class="default_text"/>
    </li>
    
    <li class="default_setup_n" id="setup_control"><a href="#" class="i_green_but" onclick="if (document.getElementById('user_name').value == '' || document.getElementById('_password').value == '' || document.getElementById('email').value == '') { alert('请填写管理员账户信息.') } else { document.getElementById('installer').submit(); document.getElementById('setup_control').style.display = 'none'; } return false;">完成</a></li>
  </ul>
  </form>
</div>

<?php TPL::output('install/footer.tpl.htm'); ?>